package com.zhou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author lang.zhou
 * @since  2022/4/6 15:03
 */
@SpringBootApplication
@EnableCaching
@ServletComponentScan
@ComponentScan(value = "com.zhou.**")
/*@ServletComponentScan*/
public class MailApplication {
    public static void main(String[] args) {
        SpringApplication.run(MailApplication.class,args);
    }
}
